package com.woniuxy.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain=true)
public class AuthResult {
	public static final int STATE_OLD=0;
	public static final int STATE_SUCCESS=1;
	public static final int STATE_FAIL=2;
	
	private int state;				//状态
	private String message;			//消息
	private String token;			
	private String refreshtoken;
}
